package com.lovo.system.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_sale")
public class SaleDto {

    @TableId(value = "sale_id",type = IdType.AUTO)
    private int saleId;

    private int userId;

    private String saleName;

    private String saleBrand;

    private double salePrice;

    private int saleNumber;

    private int type;

}
